package net.csdn.business.common.domain.vo.user;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import net.csdn.business.common.constant.CommonConstants;

import java.io.Serializable;
import java.util.Date;

/**
 * @ClassName RepoTipsSetVO
 * @Description TODO
 * @Author zhangyl
 * @Date 2024/3/12 10:25
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class UserTipsRecordVO implements Serializable {
    private Long id;
    @JsonIgnore
    private String targetId;
    @JsonIgnore
    private Integer targetType;
    @JsonIgnore
    private String repoId;
    @JsonIgnore
    private String userId;
    private String username;
    /**
     * 头像
     */
    private String photo;
    private String amount;
    @JsonFormat(pattern = CommonConstants.DEFAULT_PATTERN, timezone = CommonConstants.DEFAULT_TIMEZONE)
    private Date tipDate;
    @JsonFormat(pattern = CommonConstants.DEFAULT_PATTERN, timezone = CommonConstants.DEFAULT_TIMEZONE)
    private Date createdDate;
    @JsonFormat(pattern = CommonConstants.DEFAULT_PATTERN, timezone = CommonConstants.DEFAULT_TIMEZONE)
    private Date lastModifiedDate;
    private String createdBy;
    private String lastModifiedBy;
}
